package com.yunao.commons.serachcore.core.bean;

import lombok.Data;

import java.io.Serializable;
@Data
public class Group implements Serializable {

	private static final long serialVersionUID = 1L;

	private String key;
	private long value;

	public Group() {
	}

	public Group(String key, long value) {
		this.key = key;
		this.value = value;
	}

	public String getKey() {
		return key;
	}

	public long getValue() {
		return value;
	}

	@Override
	public String toString() {
		return key + " : " + value;
	}

}
